
<#include "header.ftl">
 <link rel="stylesheet" href="${Domain}common//tree-master/dist/amazeui.tree.min.css">
<script src="${Domain}common//tree-master/dist/amazeui.tree.min.js"></script>

  <!-- 内容区域 -->
<div class="tpl-content-wrapper">
 <div class="container-fluid am-cf">
                <div class="row">
                     <div class="am-u-sm-12 am-u-md-12 am-u-lg-9">
                        <ol class="am-breadcrumb">
						  <li><a href="${Domain}my" class="am-icon-home">首页</a></li>
						  <li class="am-active">消息</li>
						  <li class="am-active">用户留言</li>
						</ol>
                    </div>
                  	<#include "../common/return.ftl">
                </div>
  </div>
       <div class="row-content am-cf">
                <div class="row">
  
                    <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
                        <div class="widget am-cf">
                            <div class="widget-head am-cf">
                                <div class="widget-title  am-fl"><span class="iask-icon-liuyan iconfont sidebar-nav-link-logo"></span>成员列表</div>

                            </div>
                            <div class="widget-body  am-fr">
                            
                            
                            <div class="am-tabs" data-am-tabs="{noSwipe: 1}" id="doc-tab-demo-1">
							  <ul class="am-tabs-nav am-nav am-nav-tabs">
							    <li class="am-active"><a href="javascript: void(0)">主任 (${list4?size})</a></li>
							    <li><a href="javascript: void(0)">医生 (${list5?size})</a></li>
							    <li><a href="javascript: void(0)">护士 (${list6?size})</a></li>
							    <li><a href="javascript: void(0)">技术 (${list3?size})</a></li>
							  </ul>
						
							  <div class="am-tabs-bd">
							    <div class="am-tab-panel <#if user.role==4>am-active</#if>">
							      <table width="100%" class="am-table am-table-compact am-table-striped tpl-table-black ">
                                        <thead>
                                            <tr>
                                                <th>头像</th>
                                                <th>姓名</th>
                                                <th>联系</th>
                                                <th>职位</th>
                                                <th width="80px">操作</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                                                    
                                          <#list list4 as item>
                                            <tr class="gradeX">
                                                <td>
                                                    <img src="${Domain}${item.Avatar()}" class="tpl-table-line-img" width="80px">
                                                </td>
                                                <td class="am-text-middle">${item.name}</td>
                                                <td class="am-text-middle">${item.phone}<br>${item.email}</td>
                                                <td class="am-text-middle">${item.position}</td>
                                                <td class="am-text-middle">
                                                    <div class="tpl-table-black-operation">
                                                    <#if user.id==item.id>
							   						 (自己) 			       
							        				<#else>
							         				 <a href="${Domain}my/msgs/show/${item.id}?url=${url}">
                                                            <i class="am-icon-envelope"></i> 私信
                                                        </a>
                                           			 </#if>           
                                                        
                                                    </div>
                                                </td>
                                            </tr>
                                            </#list>        
                                        </tbody>
                                    </table>
							    </div>
							    <div class="am-tab-panel <#if user.role==5>am-active</#if>">
							      <table width="100%" class="am-table am-table-compact am-table-striped tpl-table-black ">
                                        <thead>
                                            <tr>
                                                <th>头像</th>
                                                <th>姓名</th>
                                                <th>联系</th>
                                                <th>职位</th>
                                                <th>操作</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                                                    
                                          <#list list5 as item>
                                            <tr class="gradeX">
                                                <td>
                                                    <img src="${Domain}${item.Avatar()}" class="tpl-table-line-img" width="80px">
                                                </td>
                                                <td class="am-text-middle">${item.name}</td>
                                                <td class="am-text-middle">${item.phone}<br>${item.email}</td>
                                                <td class="am-text-middle">${item.position}</td>
                                                <td class="am-text-middle">
                                                    <div class="tpl-table-black-operation">
                                                    <#if user.id==item.id>
							   						 (自己) 			       
							        				<#else>
							         				 <a href="${Domain}my/msgs/show/${item.id}?url=${url}">
                                                            <i class="am-icon-envelope"></i> 私信
                                                        </a>
                                           			 </#if>           
                                                        
                                                    </div>
                                                </td>
                                            </tr>
                                            </#list>        
                                        </tbody>
                                    </table>
							    </div>
							    <div class="am-tab-panel <#if user.role==6>am-active</#if>">
							      <table width="100%" class="am-table am-table-compact am-table-striped tpl-table-black ">
                                        <thead>
                                            <tr>
                                                <th>头像</th>
                                                <th>姓名</th>
                                                <th>联系</th>
                                                <th>职位</th>
                                                <th>操作</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                                                    
                                          <#list list6 as item>
                                            <tr class="gradeX">
                                                <td>
                                                    <img src="${Domain}${item.Avatar()}" class="tpl-table-line-img" width="80px">
                                                </td>
                                                <td class="am-text-middle">${item.name}</td>
                                                <td class="am-text-middle">${item.phone}<br>${item.email}</td>
                                                <td class="am-text-middle">${item.position}</td>
                                                <td class="am-text-middle">
                                                    <div class="tpl-table-black-operation">
                                                    <#if user.id==item.id>
							   						 (自己) 			       
							        				<#else>
							         				 <a href="${Domain}my/msgs/show/${item.id}?url=${url}">
                                                            <i class="am-icon-envelope"></i> 私信
                                                        </a>
                                           			 </#if>           
                                                        
                                                    </div>
                                                </td>
                                            </tr>
                                            </#list>        
                                        </tbody>
                                    </table>
							    </div>
							    <div class="am-tab-panel <#if user.role==3>am-active</#if>">
							      <table width="100%" class="am-table am-table-compact am-table-striped tpl-table-black ">
                                        <thead>
                                            <tr>
                                                <th>头像</th>
                                                <th>姓名</th>
                                                <th>联系</th>
                                                <th>职位</th>
                                                <th>操作</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                                                    
                                          <#list list3 as item>
                                            <tr class="gradeX">
                                                <td>
                                                    <img src="${Domain}${item.Avatar()}" class="tpl-table-line-img" width="80px">
                                                </td>
                                                <td class="am-text-middle">${item.name}</td>
                                                <td class="am-text-middle">${item.phone}<br>${item.email}</td>
                                                <td class="am-text-middle">${item.position}</td>
                                                <td class="am-text-middle">
                                                    <div class="tpl-table-black-operation">
                                                    <#if user.id==item.id>
							   						 (自己) 			       
							        				<#else>
							         				 <a href="${Domain}my/msgs/show/${item.id}?url=${url}">
                                                            <i class="am-icon-envelope"></i> 私信
                                                        </a>
                                           			 </#if>           
                                                        
                                                    </div>
                                                </td>
                                            </tr>
                                            </#list>        
                                        </tbody>
                                    </table>
							    </div>
							  </div>
							</div>
                             
                            </div>
                        </div>
                    </div>
                </div>
            </div> 
 </div>   

   <script>
   
   </script>      
<#include "footer.ftl">